package com.ruoyi.personnel.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.personnel.domain.ECertificationReview;

/**
 * 认证审核Service接口
 *
 * @author ruoyi
 * @date 2024-11-24
 */
public interface IECertificationReviewService extends IService<ECertificationReview>
{
    /**
     * 查询认证审核
     *
     * @param id 认证审核主键
     * @return 认证审核
     */
    public ECertificationReview selectECertificationReviewById(Long id);

    /**
     * 查询认证审核列表
     *
     * @param eCertificationReview 认证审核
     * @return 认证审核集合
     */
    public List<ECertificationReview> selectECertificationReviewList(ECertificationReview eCertificationReview);

    /**
     * 新增认证审核
     *
     * @param eCertificationReview 认证审核
     * @return 结果
     */
    public int insertECertificationReview(ECertificationReview eCertificationReview);

    /**
     * 修改认证审核
     *
     * @param eCertificationReview 认证审核
     * @return 结果
     */
    public int updateECertificationReview(ECertificationReview eCertificationReview);

    /**
     * 批量删除认证审核
     *
     * @param ids 需要删除的认证审核主键集合
     * @return 结果
     */
    public int deleteECertificationReviewByIds(Long[] ids);

    /**
     * 删除认证审核信息
     *
     * @param id 认证审核主键
     * @return 结果
     */
    public int deleteECertificationReviewById(Long id);

    /*
    * 审核通过
    * */
    public int approvalCertificationReviewStatus(Long id);

    /*
    * 审核拒绝
    * */
    public int rejectCertificationReviewStatus(ECertificationReview eCertificationReview);

    /*
     * 根据认证审核的外键查询快递员认证的信息
     * */
    public ECertificationReview selectCourierCertificationReviewByPid(Long pid);

    /*
     * 根据认证审核的外键查询实名认证的信息
     * */
    public ECertificationReview selectRealNameCertificationReviewByPid(Long pid);
}
